#include "PrecompiledHeader_Voxel.h"
#include "Settings.h"

/*--------------------------------------------------------------------------*/

int ID(int x, int y, int z) 
{
	return ( (CHUNK_X*CHUNK_Y*z) + (CHUNK_X*y) + (x) );
}

/*--------------------------------------------------------------------------*/

int TID(int x, int y, int z) 
{ 
	return ( (TCHUNK_X*TCHUNK_Y*z) + (TCHUNK_X*y) + (x) );
}

/*--------------------------------------------------------------------------*/